<template>
  <div id="app">
    <selector :parents="parents" :children="children" @tap-parent="parentClick" @tap-children="childrenClick" :union="true"></selector>
  </div>
</template>

<script>
  import Selector from './plugin/Selector'
export default {
  name: 'app',
  data () {
    return {
      parents: [
        {
          title: "巡检状态",
          status: "0"
        },
        {
          title: "巡检类型",
          status: "1"
        }
      ],
      children: [
        {
          title: "全部",
          status: ""
        },
        {
          title: "已巡检",
          status: "0"
        }
      ],

    }
  },
  components: {
    Selector
  },
  methods: {
    parentClick(parentStatus) {

    },
    childrenClick(childrenStatus) {

    }
  }
}
</script>

<style lang="scss">
  html  {
    font-size: 62.5%;
  }
</style>
